package com.itheima.mapper;


import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderMapper {

    @Select("select * from tb_order o where username=#{username}")
    List<Order> findOrderByUserId(@Param("username") String username);

}
